package com.huice.cases;


import org.testng.annotations.Test;
import com.huice.base.TestBase;

public class Huice01 extends TestBase{

	@Test
	public void huice01(){
		
		locator.linkTo("http://www.huicewang.com/ecshop/");
		locator.doSelect("首页", "搜索分类", "value", "3");	
		locator.sendKeys("首页", "搜索关键词", "诺基亚");
		locator.click("首页", "搜索按钮");
		
		checkPoint.notEquals(locator.getElementsCount("搜索结果页","产品"), 0, "搜索失败");	
		checkPoint.result("搜索成功");
	}
}